var mix ={
	
	methods:{
		checkLogin(){
			var toten = uni.getStorageSync("toten");
			if(!toten){
				// 弹出对话框
				uni.showModal({
					title:"是否去登录",
					content:"点击确定去登录",
					success(res){
						console.log(res);
						if(res.confirm){
							 console.log('用户点击确定');
							 uni.navigateTo({
							 	url:"/pages/user/login/login",
							 })
						}
					}
				})
				return false
			}else{
				return true
			}
		}
	}
}
export default mix